﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace utils.enums
{
    /// <summary>
    /// 用户模块枚举类
    /// </summary>
    public static class UserEnums
    {
        /// <summary>
        /// 状态信息
        /// </summary>
        public enum USER_STATE
        {

            /// <summary>
            /// 添加成功
            /// </summary>
            [Description("添加成功")]
            SUCCESS = 200,

            /// <summary>
            /// 添加失败
            /// </summary>
            [Description("添加失败")]
            LOSE = 400,

            /// <summary>
            /// 该账号已经存在
            /// </summary>
            [Description("该账号已存在")]
            RENICE = 202,


            /// <summary>
            ///删除成功
            /// </summary>
            [Description("删除成功")]
            DATATE = 201,

            /// <summary>
            /// 删除失败
            /// </summary>
            [Description("删除失败")]
            DATATE_LOSE = 401,

            /// <summary>
            ///修改成功
            /// </summary>
            [Description("修改成功")]
            UPDATE = 204,

            /// <summary>
            /// 修改失败
            /// </summary>
            [Description("修改失败")]
            UPDATE_LOSE = 405,

            /// <summary>
            ///请选择要删除的数据
            /// </summary>
            [Description("请选择要删除的数据")]
            UPDATE_LIST = 601,

            [Description("部门不能为空")]
            DEOAR_NONULL = 700,

            [Description("再次输入的密码不一致")]
            UPDATE_PWD = 800,
        }
    }
}
